<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>WpDatexServerMt - Testsuite</title>
	<link href="default.css" media="all" rel="stylesheet" type="text/css"> 
</head>
<body>
  <h2>Welcome to the WpDatexServerMt Testsuite</h2>
  <a href="../../index.html">Back to Tests</a>
  <h3>What is this here?</h3>
  This test suite has an implemented example of the WpDatexServer functionality of WildPack. With this 
  functionality it is possible to access database content directly from JavaScript. For details please 
  refer to the WildPack documentation.<br>
  WpDatexServerMt uses the Mootools library for ajax requests and dom manipulation. To access 
  write functions (save, update), you must authenticate by simply clicking this <button id="actAuth">button</button>.
  
  <br><br>
  <div id="messager"></div>
  <br><br>
  <div id="container">
  <div id="left" class="box">
    <h4>List of datasets:</h4>
    <div id="datalist"></div>
    <button id="actLoad">Refresh</button>  
  </div>
  <div id ="right" class="box">
    <h4>Single dataset:</h4>
    id: <input id="id" name="id" readonly="readonly"><br>
    field1: <input id="field1" name="field1"><br>
    field2: <input id="field2" name="field2"><br>
    field3: <input id="field3" name="field3"><br>
    <button id="actClear">Clear</button>
    <button id="actSave">Save</button>
  </div>
  </div> 

  <script type="text/javascript" src="mtcore.js"></script>
  <script type="text/javascript" src="server.php?js"></script>
  <script type="text/javascript" src="actions.js"></script>
</body>
</html>
